GtkIMContextSimple: Fix Wayland build when X11 support is disabled.
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Sun, 8 Jul 2018 18:11:01 +0000 (20:11 +0200)
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Sun, 8 Jul 2018 18:11:01 +0000 (20:11 +0200)
gtk/gtkimcontextsimple.c

index 036eca9d094936916e406a2458df1988a17d23f2..b0eaca6b5331386aad918701967812b9d6eb80cc 100644 (file)
@@ -184,7 +184,7 @@ get_x11_compose_file_dir (void)
 {
   gchar* compose_file_dir;
 
-#if defined (GDK_WINDOWING_X11) || defined (GDK_WINDOWING_WAYLAND)
+#if defined (GDK_WINDOWING_X11)
   compose_file_dir = g_strdup (X11_DATA_PREFIX "/share/X11/locale");
 #else
   compose_file_dir = g_build_filename (_gtk_get_datadir (), "X11", "locale", NULL);